Skip to main content
EventEmitter.[EventEmitter.captureRejectionSymbol] - events - Node documentation
method EventEmitter.[EventEmitter.captureRejectionSymbol]

Usage in Deno

import { type EventEmitter } from "node:events";
EventEmitter.[EventEmitter.captureRejectionSymbol]<K>(
error: Error,
event: Key<K, T>,
...args: Args<K, T>,
): void

Type Parameters

K

Parameters

error: Error
event: Key<K, T>
...args: Args<K, T>

Return Type

void
Back to top